<%= javascript_include_tag :ckeditor %>
<!--S 主体-->
<div class="main" id="my_photo">
  <!--S 主页导航-->
  <%= render(:partial => "/shared/profile_nav") %>
  <div id="my_write_log" class="mod write_log">
    <div class="op_box bor_b_4 ">
      <p class="return"><%= link_to "&lt;&lt;返回日志列表",member_blogs_path %></p>
      <p class="set"><a href="/user/blogset.htm"><%= image_tag "icon.gif", :alt=>"日志设置", :class=>"icon_set" %>日志设置</a></p>
    </div>
    <!--S 模块标题-->
    <div class="title bg_1">
      <h3>写日志</h3>
    </div>
    <!--E 模块标题-->
    <% form_for @blog, :url => member_blog_path(@member) do |f| -%>
    <div class="content">
      <p class="log_tit">
        标题：<%= f.text_field :title %> <span class="c_2" id="title_tip">0/40</span>
      </p>
      <p class="log_class">
        分类：
        <select class="size1" id="category">
        </select>
        <a href="javascript:openURL('http://user.qzone.qq.com/'+getUin()+'/blog?secondary=1&list=1&setting=1',true)">添加分类</a>
      </p>
      <div class="editor_box" id="editor">
        <%= ckeditor_textarea(:blog, :content, :width => '70%', :height => '200px',:language => 'zh-cn') %>
      </div>
      <!--S验证提交-->
      <div class="check_word">
        <p class="check_p" id="check_p" style="display:none">验&nbsp;&nbsp;证&nbsp;&nbsp;码：</p>
        <div class="check_div">
          <p class="word_box" id="word_box" style="display:none"><input id="verify" type="text" size="30" maxlength="30" value="输入下图中的字符，不区分大小写" class="c_2" style="ime-mode:disabled;" /></p><!--S##鼠标获得焦点后文字颜色变为class="c_4"###-->
          <p class="check_img" id="check_img" style="display:none"><img id="verifyImg" src="about:blank" alt="验证码" title="验证码" /> <button onclick="setVerifyImg('verifyImg','verify')" class="c_3">换一张</button></p>
          <p class="btn">
            <button class="bt2_2em" onclick="javascript:document.forms[0].submit();">发表</button> <button class="bt2_2em">取消</button> <span class="c_2">发表的日志同时显示动静</span>
          </p>
        </div>
      </div>
      <!--E验证提交-->
    </div>
    <% end %>
  </div>
</div>
<!--E 主体-->